<?php
defined('IN_PHPCMS') or exit('Access Denied');
include admin_tpl('header');
?>
<body>

<form method="post" action="?mod=<?=$mod?>&file=<?=$file?>&action=listorder">
<table cellpadding="0" cellspacing="1" class="table_list">
  <caption>管理订阅类别</caption>
  <tr>
    <th style="width:25px">ID</th>
    <th style="width:100px">类别名称</th>
    <th>类别描述</th>
    <th style="width:75px">管理操作</th>
  </tr>
 <?php
if(is_array($infos)){
	foreach($infos as $info){
?>
<tr>
<td style="text-align:center;"><?=$info['typeid']?></td>
<td style="text-align:center;"><?=output::style($info['name'], $info['style'])?></span></td>
<td align="left"><?=$info['description']?></td>
<td style="text-align:center;"><a href="?mod=<?=$mod?>&file=<?=$file?>&action=edit&typeid=<?=$info['typeid']?>&module=<?=$module?>">修改</a> | <a href="javascript:if(confirm('确定删除吗？')) location='?mod=<?=$mod?>&file=<?=$file?>&action=delete&typeid=<?=$info['typeid']?>'">删除</a>
</td>
</tr>
<?php
	}
}
?></table>
</form>
<div id="pages"><?=$type->pages?></div>
</body>
</html>
